<%@ page language="java"
	pageEncoding="UTF-8"%>
	<%@ include file="common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

　<style type="text/css"> 
　　 a:link { text-decoration: none;color: blue}
　　 a:active { text-decoration:blink} 
　　 a:hover { text-decoration:underline;color: red}  
　　 a:visited { text-decoration: none;color: green}

　　 </style>


	<pg:pager url="queryMerchant.do" items="${pageModelMerChant.total}"
		export="currentPageNumber=pageNumber" maxPageItems="10">
		<pg:first>
			<a href="${pageUrl}">首页</a>
		</pg:first>
		<pg:prev>
			<a href="${pageUrl }">前一页</a>
		</pg:prev>
		<pg:pages>
			<c:choose>
				<c:when test="${currentPageNumber eq pageNumber }">
					<font color="red">${pageNumber }</font>
				</c:when>
				<c:otherwise>
					<a href="${pageUrl }">${pageNumber }</a>
				</c:otherwise>
			</c:choose>
		</pg:pages>
		<pg:next>
			<a href="${pageUrl }">后一页</a>
		</pg:next>
		<pg:last>
			<a href="${pageUrl }">尾页</a>
		</pg:last>
	</pg:pager>


